<div style="background-color: #FFF; overflow: hidden">
	<div title="基本" class="MWFTab">
        <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
            <tr>
                <td class="editTableTitle">{{$.lp.columnTitle}}:</td>
                <td class="editTableValue"><input type="text" name="displayName" value="text{$.displayName}" class="editTableInput"/></td>
            </tr>
            <tr>
                <td class="editTableTitle">{{$.lp.columnName}}:</td>
                <td class="editTableValue"><input type="text" name="column" value="text{$.column}" class="editTableInput"/></td>
            </tr>
            <tr>
                <td class="editTableTitle">{{$.lp.defaultValue}}:</td>
                <td class="editTableValue"><input type="text" name="defaultValue" value="text{$.defaultValue}" class="editTableInput"/></td>
            </tr>
            <tr>
                <td class="editTableTitle">{{$.lp.openDocument}}:</td>
                <td class="editTableValue">
                    <input class="editTableRadio" name="allowOpen" text{($.allowOpen===true)?'checked':''} type="radio" value="true"
                           onclick="if(this.checked){
                               $('text{$.pid}clickCodeTr').setStyle('display', '');
                               $('text{$.pid}idPathTr').setStyle('display', '');
                           }"/>{{$.lp.yes}}
                    <input class="editTableRadio" name="allowOpen" text{($.allowOpen!==true)?'checked':''} type="radio" value="false"
                           onclick="if(this.checked){
                               $('text{$.pid}clickCodeTr').setStyle('display', 'none');
                               $('text{$.pid}idPathTr').setStyle('display', 'none');
                           }"/>{{$.lp.no}}
                </td>
            </tr>
            <tr id="text{$.pid}clickCodeTr" style="display:text{($.allowOpen===true)?'':'none'}">
                <td class="editTableValue" colspan="2">
                    <div class="MWFFormulaArea" name="clickCode" title="{{$.lp.openDocumentScript}}(S)"></div>
                </td>
            </tr>
            <tr id="text{$.pid}idPathTr" style="display:text{($.allowOpen===true)?'':'none'}">
                <td class="editTableTitle">{{$.lp.idPath}}:</td>
                <td class="editTableValue">
                    <input type="text" name="idPath" value="text{$.idPath}" class="editTableInput"/>
                    <div style="line-height: 20px;color:#999;">{{$.lp.idPathNote}}</div>
                </td>
            </tr>
        </table>

        <div style="border-top: 1px solid #999; margin-top:10px">
            <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">{{$.lp.data}}</div>
            <div class="MWFDataData" id="text{$.pid}dataDataEditor">
                <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable" style="table-layout: fixed;">
                    <tr>
                        <td class="editTableTitle">{{$.lp.selectPath}}:</td>
                        <td class="editTableValue">
                            <select class="MWFDataPathSelect" id="text{$.pid}dataPathSelected" onchange=" var v=this.options[this.selectedIndex].value; if (true){var n = $('text{$.pid}viewColumnPathInput'); n.set('value', v); n.focus();} ">
                            </select>
                            <div style="line-height: 20px;color:#999;">{{$.lp.selectPathNote}}</div>
                        </td>
                    </tr>
                    <tr>
                        <td class="editTableTitle">{{$.lp.dataPath}}:</td>
                        <td class="editTableValue">
                            <input id="text{$.pid}viewColumnPathInput" type="text" name="path" value="text{$.path}" class="editTableInput"/>
                            <div style="line-height: 20px;color:#999;">{{$.lp.dataPathNote}}</div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>

        <div style="border-top: 1px solid #999; margin-top:10px">
            <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
                <tr class="MWFColumnExportHide">
                    <td class="editTableTitle">{{$.lp.hidden}}:</td>
                    <td class="editTableValue">
                        <input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="true" text{($.hideColumn)===true?'checked':''}/>{{$.lp.yes}}
                        <input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="false" text{($.hideColumn)!==true?'checked':''}/>{{$.lp.no}}
                    </td>
                </tr>
                <tr class="MWFColumnExportGroup">
                    <td class="editTableTitle">{{$.lp.org}}:</td>
                    <td class="editTableValue">
                        <input class="MWFWorkDataCheck" name="isName" type="radio" value="true" text{($.isName)===true?'checked':''}/>{{$.lp.yes}}
                        <input class="MWFWorkDataCheck" name="isName" type="radio" value="false" text{($.isName)!==true?'checked':''}/>{{$.lp.no}}
                    </td>
                </tr>
                <tr class="MWFColumnExportGroup">
                    <td class="editTableTitle">{{$.lp.htmlValue}}:</td>
                    <td class="editTableValue">
                        <input class="MWFWorkDataCheck" name="isHtml" type="radio" value="true" text{($.isHtml)===true?'checked':''}/>{{$.lp.yes}}
                        <input class="MWFWorkDataCheck" name="isHtml" type="radio" value="false" text{($.isHtml)!==true?'checked':''}/>{{$.lp.no}}
                    </td>
                </tr>
            </table>
        </div>
        <div class="MWFFormulaArea" name="code" title="{{$.lp.showScript}}(S)"></div>

        <div style="border-top: 1px solid #999; margin-top:10px">
            <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">{{$.lp.export}}</div>
            <div class="MWFDataData" id="text{$.pid}dataExportEditor">
                <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable" style="table-layout: fixed;">
                    <tr>
                        <td class="editTableTitle">{{$.lp.exportEnable}}:</td>
                        <td class="editTableValue">
                            <input name="exportEnable" type="radio" value="true" text{($.exportEnable)!==false?'checked':''}/>{{$.lp.yes}}
                            <input name="exportEnable" type="radio" value="false" text{($.exportEnable)===false?'checked':''}/>{{$.lp.no}}
                        </td>
                    </tr>
                    <tr>
                        <td class="editTableTitle">{{$.lp.exportWidth}}:</td>
                        <td class="editTableValue">
                            <input type="text" name="exportWidth" value="text{$.exportWidth || 200}" class="editTableInputNoWidth"/>px
                        </td>
                    </tr>
                    <tr>
                        <td class="editTableTitle">{{$.lp.isTime}}:</td>
                        <td class="editTableValue">
                            <input class="MWFWorkDataCheck" name="isTime" type="radio" value="true" onclick="if(this.checked){
                                   $$('[name=text{$.mid}isNumber]').each(function( el ){ if(el.get('value') === 'false' ){ el.set('checked', true); el.fireEvent('change') }})
                               }" text{($.isTime)===true?'checked':''}/>{{$.lp.yes}}
                            <input class="MWFWorkDataCheck" name="isTime" type="radio" value="false" text{($.isTime)!==true?'checked':''}/>{{$.lp.no}}
                        </td>
                    </tr>
                    <tr>
                        <td class="editTableTitle">{{$.lp.isNumber}}:</td>
                        <td class="editTableValue">
                            <input class="MWFWorkDataCheck" name="isNumber" type="radio" value="true" onclick="if(this.checked){
                                   $$('[name=text{$.mid}isTime]').each(function( el ){ if(el.get('value') === 'false' ){el.set('checked', true);  el.fireEvent('change') }})
                               }" text{($.isNumber)===true?'checked':''}/>{{$.lp.yes}}
                            <input class="MWFWorkDataCheck" name="isNumber" type="radio" value="false" text{($.isNumber)!==true?'checked':''}/>{{$.lp.no}}
                        </td>
                    </tr>
                    <tr>
                        <td class="editTableTitle">{{$.lp.total}}:</td>
                        <td class="editTableValue">
                            <input class="editTableRadio" name="total" text{!($.total) || ($.total=='no')?'checked':''} type="radio" value="no"/>{{$.lp.notNeeded}} <br/>
                            <input class="editTableRadio" name="total" text{($.total=='number')?'checked':''} type="radio" value="number"/>{{$.lp.totalValue}} <br/>
                            <input class="editTableRadio" name="total" text{($.total=='count')?'checked':''} type="radio" value="count"/>{{$.lp.totalCount}} <br/>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
	</div>
    <div title="{{$.lp.style}}" class="MWFTab">
        <div class="MWFMaplist" name="titleStyles" title="{{$.lp.titleStyles}}"></div>
        <div class="MWFMaplist" name="titleProperties" title="{{$.lp.titleProperties}}"></div>
        <div class="MWFMaplist" name="contentStyles" title="{{$.lp.contentStyles}}"></div>
        <div class="MWFMaplist" name="contentProperties" title="{{$.lp.contentProperties}}"></div>
    </div>
    <div title="{{$.lp.event}}"  class="MWFTab">
        <div class="MWFEventsArea" name="events"></div>
    </div>
	<div title="JSON"  class="MWFTab">
		<div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
	</div>
</div>